package com.zhuss.controller.repair;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.zhuss.bean.bo.repair.repairAudit.ChaKanBo;
import com.zhuss.bean.bo.repair.repairAudit.WeiXiuDanBo;
import com.zhuss.common.BaseController;
import com.zhuss.common.SelectVo;
import com.zhuss.exception.WpsException;
import com.zhuss.repair.repair.RepairAuditOperateService;
import com.zhuss.repair.repair.RepairTaiZhangOperateService;
import com.zhuss.repair.repair.RepairWeiXiuOperateService;


/**
 * 报修操作 controller
 * @Author hxx
   @Date 2020/03/02 16:01
 *
 */
  
 
@RestController
@RequestMapping("/repairTaiZhang")
public class RepairTaiZhangOperateController extends BaseController {
	
	@Autowired
	@Qualifier("repairTaiZhangOperateService")
	private RepairTaiZhangOperateService repairTaiZhangOperateService;

	
	/**
	 * 查看
	 */
	@ResponseBody
    @PostMapping("/chakan")
    public Object chakan(@RequestBody ChaKanBo bo) throws WpsException {
		Object result = repairTaiZhangOperateService.chakan(bo);
		return result;
    }
	
	/**
	 * 查看
	 */
	@ResponseBody
    @PostMapping("/weixiudan")
    public Object weixiudan(@RequestBody WeiXiuDanBo bo) throws WpsException {
		Object result = repairTaiZhangOperateService.weixiudan(bo);
		return result;
    }

	
}
